package org.exhibitj.operators;

public abstract class FetchingRunnable<T> implements Runnable {

	private T value;
	
	@Override
	public void run() {
		value = fetchValue();
	}
	
	public abstract T fetchValue();
	
	public T getValue() {
		return value;
	}
}
